package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.IntradayShareData;

public interface IntradayShareDataService {

	IntradayShareData findById(int id);

	void saveIntradayShareData(IntradayShareData intradayShareData);

	void deleteIntradayShareData(int id);

	List<IntradayShareData> findIntradayShareData(int companyId);
	
	List<IntradayShareData> searchIntradayShareData(int companyId, Date fromDate,
			Date toDate);

	Page<IntradayShareData> searchIntradayShareData(int companyId, Date fromDate,
			Date toDate, GridPramDTO gridPramDTO);
	
	public void deleteOldRecords();
	
}
